package edu.sandau.basic.mapper;

import edu.sandau.basic.domain.Menu;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface MenuMapper {

    List<Menu> selectAll();

    Menu selectById(Integer id);

    int insert(Menu menu);

    int update(Menu menu);

    int delete(Integer id);
}
